﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharpLearn_Chapter4.Property
{
    internal class Person
    {
        //required 修饰，表示引用类型可以是null
        public required string Id { get; set; } //身份证号码
        public string Name { get; set; }

        public int Age { get; } //只读属性
    }
}
